package com.zhiyou100.loans.dao.impl;

import java.sql.ResultSet;

import com.zhiyou100.loans.dao.TypesDao;
import com.zhiyou100.loans.util.JDBCUtil;

public class TypesDaoImpl implements TypesDao {
	JDBCUtil util = new JDBCUtil();
	
	@Override
	public ResultSet select() {
		String sql ="select id,name from types";
		Object[] objs={};
		return util.query(sql, objs);
	}

}
